home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcl / sptmbr11.lha / clx / makefile.akcl < prev    next >
Makefile  |  1992-04-28  |  695b  |  27 lines

  1. LISP=akcl
  2. AKCLDIR=/public/akcl
  3.  
  4. compile: fix-socket.c
  5.     echo  '(compiler::emit-fn t)(load "sys-package.lisp")(load "sys-proclaim.lisp")' \
  6.     '(load (format nil "~a~a" si::*system-directory* "../lsp/sys-proclaim.lisp"))' \
  7.     '(load "defsystem.lisp")' \
  8.     '(user::compile-clx "foo.lisp" "foo.o")' | ${LISP}
  9.  
  10. save:
  11.     echo  '(load "defsystem.lisp")(user::load-clx)(si::save-system "saved_clx")' | ${LISP}
  12.  
  13.  
  14. # for 4.3bsd
  15.  
  16. socket.o: 
  17.     cc -c socket.c -o socket.o -DUNIXCONN
  18.  
  19. # add the endian stuff from sys/param.h to socket.c
  20.  
  21. fix-socket.c:
  22.     if [ -f socket.c.orig ] ; then true ; else mv socket.c socket.c.orig ; fi
  23.     echo "#include <sys/param.h>" |  cat - socket.c.orig  > socket.c
  24.     echo > fix-socket.c
  25.  
  26.  
  27.